package com.dao;

import com.pojo.HandSet;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HandMapper {
    /**
     * 查询所有手机信息
     * @return list
     */
    List<HandSet> list();

    /**
     *
     * @return
     */
    HandSet findId(@Param("hsId") int hsId);

    /**
     * 根据hsId删除手机信息
     * @param hsId
     * @return
     */
    int delete(@Param("hsId") int hsId);
}
